package com.liu.frame.utils;

public class OtherUtils {
	public static StackTraceElement getCallerStackTraceElement() {
		return Thread.currentThread().getStackTrace()[4];
	}

	/**
	 * 防止快速点击 1秒
	 */

	private  static long lastClick = 0;

	public static boolean fastClick() {
		if (System.currentTimeMillis() - lastClick <= 1000) {

			return false;
		}
		lastClick = System.currentTimeMillis();
		return true;
	}

}
